package com.blog.backend.mapper;


import com.blog.backend.domain.BlogSummary;
import com.blog.backend.resp.SummaryResp;

import java.util.List;

public interface BlogSummaryMapper {
    int deleteByPrimaryKey(String summaryId);

    int insert(BlogSummary record);

    int insertSelective(BlogSummary record);

    BlogSummary selectByPrimaryKey(String summaryId);

    int updateByPrimaryKeySelective(BlogSummary record);

    int updateByPrimaryKeyWithBLOBs(BlogSummary record);

    int updateByPrimaryKey(BlogSummary record);

    List<SummaryResp> getSummaryList();

    void updateSummaryStatus(String summaryId);

    BlogSummary selectYearNew();
}